package com.ziyun.erp.modules.logistics.dao;

import com.ziyun.erp.modules.logistics.entity.ErpLogisticsEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.logistics.vo.ErpLogisticsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 物流配送表
 * 
 * @author guizhao
 * @email ...
 * @date 2018-08-31 10:12:35
 */
public interface ErpLogisticsDao extends BaseMapper<ErpLogisticsEntity> {

    int countsFinanceList(@Param("map")Map<String,Object> map);

    List<ErpLogisticsVo> queryFinanceList(@Param("beginPage") int beginPage,@Param("size") int size, @Param("map")Map<String,Object> map);

    void updateByMap(@Param("map") Map<String,Object> map, @Param("logiId")Integer logiId);

    String selectLogiComById(@Param("logiId") Integer logiId);

    void updateBatchByMap(@Param("map") Map<String, Object> map, @Param("ids") List<Integer> ids);
}
